package com.sharp.portal.constant.dict;

import com.sharp.kernel.constant.dict.MetaDict;
import com.sharp.kernel.constant.dict.Dict;
import com.sharp.kernel.constant.db.SqlConstant;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;


/**
 * Title: PortalConditionDict
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2021/2/16 0:40
 */
@MetaDict("PORTAL_CONDITION_DICT")
@AllArgsConstructor
public enum PortalConditionDict implements Dict {
    /**
     * 管理界面条件关系字典
     */

    EQUAL(SqlConstant.EQUAL, 1, "等于"),
    NOT_EQUAL(SqlConstant.NOT_EQUAL, 2, "不等于"),
    GREATER(SqlConstant.GREATER, 3, "大于"),
    GREATER_EQUAL(SqlConstant.GREATER_EQUAL, 4, "大于等于"),
    LESS(SqlConstant.LESS, 5, "小于"),
    LESS_EQUAL(SqlConstant.LESS_EQUAL, 6, "小于等于"),
    NULL(SqlConstant.NULL, 7, "空"),
    NOT_NULL(SqlConstant.NOT_NULL, 8, "非空"),
    LIKE(SqlConstant.LIKE, 9, "包含"),
    NOT_LIKE(SqlConstant.NOT_LIKE, 10, "不包含"),
    IN(SqlConstant.IN, 11, "介于"),
    NOT_IN(SqlConstant.NOT_IN, 12, "不介于");

    @Getter
    @Setter
    private Integer value;
    @Getter
    @Setter
    private Integer order;
    @Getter
    @Setter
    private String label;


}
